﻿#ifndef FFMPEGCOMMAND_H
#define FFMPEGCOMMAND_H

#include <QStringList>

class FFmpegCommand
{
private:
    FFmpegCommand();

public:
    static QStringList thumbnails(const QString& infile, const QString& outfile);

    // time: e.g. "00:00:01.000"
    static QStringList videoScreenShot(const QString& infile, const QString& outfile, const QString& time);

    static QStringList cropAndCutVideo(const QString& infile, const QString& outfile);


    static QStringList mergeVideo(const QStringList& infile, const QString& outfile);

    static QStringList videoToGif(const QString& infile, const QString& outfile,
                                  const QString& beginTime, const QString& endTime,
                                  const QString& scale);

    static QStringList convertVideo(const QString& infile, const QString& outfile);
};

#endif // FFMPEGCOMMAND_H
